package com.example.presentshopping.config.bean;

import java.util.List;

/**
 * @author ZhaoXH on 2017/9/9.
 */

public class AreaDataSsqEntity {

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * value : 11
         * label : 北京
         * key : 1
         * children : [{"value":"","key":"2","label":"不限"},{"value":"01","label":"北京城区","key":"2","children":[{"value":"00","label":"全市"},{"value":"01","label":"东城区"},{"value":"02","label":"西城区"},{"value":"05","label":"朝阳区"},{"value":"06","label":"丰台区"},{"value":"07","label":"石景山区"},{"value":"08","label":"海淀区"},{"value":"09","label":"门头沟区"},{"value":"11","label":"房山区"},{"value":"12","label":"通州区"},{"value":"13","label":"顺义区"},{"value":"14","label":"昌平区"},{"value":"15","label":"大兴区"},{"value":"16","label":"怀柔区"},{"value":"17","label":"平谷区"},{"value":"18","label":"密云区"},{"value":"19","label":"延庆区"}]}]
         */

        private String value;
        private String label;
        private String key;
        private List<ChildrenBeanX> children;

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public List<ChildrenBeanX> getChildren() {
            return children;
        }

        public void setChildren(List<ChildrenBeanX> children) {
            this.children = children;
        }

        public static class ChildrenBeanX {
            /**
             * value :
             * key : 2
             * label : 不限
             * children : [{"value":"00","label":"全市"},{"value":"01","label":"东城区"},{"value":"02","label":"西城区"},{"value":"05","label":"朝阳区"},{"value":"06","label":"丰台区"},{"value":"07","label":"石景山区"},{"value":"08","label":"海淀区"},{"value":"09","label":"门头沟区"},{"value":"11","label":"房山区"},{"value":"12","label":"通州区"},{"value":"13","label":"顺义区"},{"value":"14","label":"昌平区"},{"value":"15","label":"大兴区"},{"value":"16","label":"怀柔区"},{"value":"17","label":"平谷区"},{"value":"18","label":"密云区"},{"value":"19","label":"延庆区"}]
             */

            private String value;
            private String key;
            private String label;
            private List<ChildrenBean> children;

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getLabel() {
                return label;
            }

            public void setLabel(String label) {
                this.label = label;
            }

            public List<ChildrenBean> getChildren() {
                return children;
            }

            public void setChildren(List<ChildrenBean> children) {
                this.children = children;
            }

            public static class ChildrenBean {
                /**
                 * value : 00
                 * label : 全市
                 */

                private String value;
                private String label;

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }

                public String getLabel() {
                    return label;
                }

                public void setLabel(String label) {
                    this.label = label;
                }
            }
        }
    }
}
